package com.theo.provider.service;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

// 发布服务
@Service
// 放在容器
@Component
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {
        return "ticket";
    }
}
